package com.example.test2.service;
import com.example.test2.entity.TranslationResponse;

import retrofit2.Call;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface TranslationService {
    @POST("api/txt/QQFanyi")
    Call<TranslationResponse> translateText(@Query("sourceText") String sourceText);
}